use ftp::FtpStream;
pub fn check(host: &str, account: &str,password: &str) -> bool {
    match FtpStream::connect(format!("{}:21", host)) {
        Ok(mut ftp_stream) => {
            let result = ftp_stream.login(account, password).is_ok();
            let _ = ftp_stream.quit();
            result
        },
        Err(_) => false,
    }
}